package com.arron.juc;

/**
 * @Classname lamdaExpress
 * @Description TODO
 * @Date 2020/8/18 23:33
 * @Created by 刘
 */


public class lamdaExpress {

    public static void main(String[] args) {
//        FunInterfecetest foo=new FunInterfecetest() {
//            @Override
//            public int add(int a, int b) {
//                return 0;
//            }
//        };
        FunInterfecetest foo=(a,b)-> a+b;
        System.out.println(foo.add(1, 5));
        System.out.println(foo.div(10, 5));
        System.out.println(FunInterfecetest.mv(3, 6));

    }
}
